package com.csun.cmny.provider.model.constant;

public class LifeConstant {

    /*
    * life集团房间常量
    * */

    //房间已入住
    public static final Integer CHECK_IN = 1;

    //空房
    public static final Integer EMPTY_ROOM = 0;

    //默认厕所异常检测注意时间(秒)
    public static final Integer DEFAULT_TOILET_ATTENTION_TIME = 300;
    
    //默认启用厕所检测注意时间
    public static final Integer DEFAULT_IS_USE_TOILET_ATTENTION_TIME = 1;

    //默认厕所异常检测警告时间(秒)
    public static final Integer DEFAULT_TOILET_WARNING_TIME = 600;

    //默认启用厕所检测警告时间
    public static final Integer DEFAULT_IS_USE_TOILET_WARNING_TIME = 1;

    //默认厕所异常检测异常时间(秒)
    public static final Integer DEFAULT_TOILET_UNUSUAL_TIME = 900;

    //默认启用厕所检测异常时间
    public static final Integer DEFAULT_IS_USE_TOILET_UNUSUAL_TIME = 1;

    //默认室温最高值
    public static final Integer DEFAULT_TEMPERATURE_MAXIMUM = 29;

    //默认室温最低值
    public static final Integer DEFAULT_TEMPERATURE_MINIMUM = 9;

    //默认室温检测时间间隔(秒)
    public static final Integer DEFAULT_TEMPERATURE_MEASURING_TIME_INTERVAL = 600;

    //默认呼吸异常最大值
    public static final Integer DEFAULT_BREATH_MAX_TIMES = 32;

    //默认呼吸异常最小值
    public static final Integer DEFAULT_BREATH_MIN_TIMES = 8;

    //默认心跳最小值
    public static final Integer DEFAULT_HEARTBEAT_MINIMUM = 32;

    //默认心跳最大值
    public static final Integer DEFAULT_HEARTBEAT_MAXIMUM = 100;

    //默认生命体征检测间隔时间(秒)
    public static final Integer DEFAULT_VITAL_MEASURING_TIME_INTERVAL = 30;

    //默认离床检测间隔时间(秒)
    public static final Integer DEFAULT_LEAVE_BED_MEASURING_TIME_INTERVAL = 0;

    //默认走动检测开始时间
    public static final String DEFAULT_WALK_MEASURING_START_TIME = "00:00:00";

    //默认走动检测结束时间
    public static final String DEFAULT_WALK_MEASURING_END_TIME = "04:00:00";

    //默认走动检测结束时间
    public static final String DEFAULT_LEAVE_ROOM_ALERT_START_TIME = "00:00:00";

    //默认走动检测结束时间
    public static final String DEFAULT_LEAVE_ROOM_ALERT_END_TIME = "00:00:00";

    //默认走动检测间隔时间(秒)
    public static final Integer DEFAULT_WALK_MEASURING_TIME_INTERVAL = 0;

    //默认摔倒画面检测(帧数)
    public static final Integer DEFAULT_TUMBLE_MEASURING_FRAME = 5;

    //画面异常检测时间(秒)
    public static final Integer CAMERA_CHECK_TIME = 5;

    /**
     * 报警前录像时长(秒)
     */
    public static final Integer BEFORE_DURATION = 30;

    /**
     * 报警后录像时长
     */
    public static final Integer AFTER_DURATION = 30;

    //指令待下发
    public static final Integer DEVICE_ORDER_NEED_SEND = 0;

    //指令下发成功
    public static final Integer DEVICE_ORDER_SEND_SUCCESS = 1;

    //人感报警 注意报警
    public static final int BODY_SENSOR_TOILET_ATTENTION_LEVEL = 1;

    //人感报警 注意报警
    public static final int BODY_SENSOR_TOILET_WARNING_LEVEL = 2;

    //人感报警 注意报警
    public static final int BODY_SENSOR_TOILET_UNUSUAL_LEVEL = 3;

    //报警状态 0-报警 1-不报警
    public static final Integer ROOM_SILENT = 1;

    //设备判断屋中是否有人 in-有人 out-无人
    public static final String IN_ROOM_STATUS = "in";

    //设备判断屋中是否有人 in-有人 out-无人
    public static final String OUT_ROOM_STATUS = "out";

    //设备判断屋中是否有人 in-有人 out-无人 unkown-无法判断
    public static final String UNKONW_ROOM_STATUS = "unkown";

    //设备判断屋中是否有人的设备是否齐全 0-不齐 1-齐
    public static final int IN_ROOM_STATUS_DEVICE_ENOUGH = 1;

    //设备判断屋中是否有人的设备是否齐全 0-不齐 1-齐
    public static final int IN_ROOM_STATUS_DEVICE_NOT_ENOUGH = 0;

    public static String YES_SOUND = "lifexxx001.mp3";

    public static String NO_SOUND = "2233.mp3";

}
